import { request } from './request';

export async function updateUserInformation(data: { gender?: string; displayName?: string; phone?: string }) {
  return request.post('/api/visitor/updateUserInformation', data);
}

export async function updateUserPassword(data: { newPassWord: string; oldPassWord: string }) {
  return request.post('/api/visitor/updateUserPassword', data);
}

export async function getTokensBalanceByUuid(uuid: string) {
  return request.get('/api/visitor/getTokensBalanceByUuid', { params: { uuid } });
} 